import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '序号',
    align: "center",
    dataIndex: 'number'
  },
  {
    title: '主要工作任务',
    align: "center",
    dataIndex: 'mainTasks'
  },
  {
    title: '工作目标任务',
    align: "center",
    dataIndex: 'jobObjective'
  },
  {
    title: '工作安排',
    align: "center",
    dataIndex: 'workArrangement'
  },
  {
    title: '频次',
    align: "center",
    dataIndex: 'frequency'
  },
];

// 高级查询数据
export const superQuerySchema = {
  number: {title: '序号',order: 0,view: 'text', type: 'string',},
  mainTasks: {title: '主要工作任务',order: 1,view: 'text', type: 'string',},
  jobObjective: {title: '工作目标任务',order: 2,view: 'text', type: 'string',},
  workArrangement: {title: '工作安排',order: 3,view: 'textarea', type: 'string',},
  frequency: {title: '频次',order: 4,view: 'text', type: 'string',},
};
